package com.icloud.cer.rest.util;

import java.util.concurrent.atomic.AtomicLong;

public class MessageSequenceGenerator {
	private static AtomicLong increment = new AtomicLong(1);;
	
	public static long getNextMessageId() {
		long msgId = System.nanoTime() + increment.incrementAndGet();
		return msgId;
	}
}
